
public class MotorCycleMain {
	
	public static void main(String[] args) {
		
		MotorCycle m = new MotorCycle();
		m.setData(9874, 150);
		m.drive();
		System.out.println("객체 m: " + m);
		System.out.println();
		
		MotorCycle c = m;
		c.drive();
		System.out.println("객체 c: " + c);
		
	}
	
}
